// 自动生成模板SelectList
package model

import (
	"gin-vue-admin/global"
)

type SelectList struct {
     global.GVA_MODEL
     SelectGoodsId  int `json:"selectGoodsId" form:"selectGoodsId" gorm:"column:select_goods_id;comment:选品ID;type:bigint;size:19;"`
     CategoryFirst  string `json:"categoryFirst" form:"categoryFirst" gorm:"column:category_first;comment:一级类目;type:varchar(90);size:90;"`
     SelectGoodsName  string `json:"selectGoodsName" form:"selectGoodsName" gorm:"column:select_goods_name;comment:选品名称"`
     CategorySecond  string `json:"categorySecond" form:"categorySecond" gorm:"column:category_second;comment:二级类目;type:varchar(90);size:90;"`
     ImageUrl  string `json:"imageUrl" form:"imageUrl" gorm:"column:image_url;comment:图片;type:varchar(512);size:512;"`
     Supplier  string `json:"supplier" form:"supplier" gorm:"column:supplier;comment:供应商;type:varchar(512);size:512;"`
     PurchasePrice  float64 `json:"purchasePrice" form:"purchasePrice" gorm:"column:purchase_price;comment:进价;type:float;size:215;"`
     PreSalePrice  float64 `json:"preSalePrice" form:"preSalePrice" gorm:"column:pre_sale_price;comment:预售价;type:float;size:225;"`
     SellPoint  string `json:"sellPoint" form:"sellPoint" gorm:"column:sell_point;comment:卖点;type:mediumtext"`
     CompetitiveProducts  string `json:"competitiveProducts" form:"competitiveProducts" gorm:"column:competitive_products;comment:竞品;type:varchar(512);size:512;"`
     CompetitiveSellPrice  float64 `json:"competitiveSellPrice" form:"competitiveSellPrice" gorm:"column:competitive_sell_price;comment:竞品售价;type:float;size:225;"`
     SelectOwner  string `json:"selectOwner" form:"selectOwner" gorm:"column:select_owner;comment:选品人;type:varchar(225);size:225;"`
     SelectRecommendationLevel  int `json:"selectRecommendationLevel" form:"selectRecommendationLevel" gorm:"column:select_recommendation_level;comment:推荐等级"`
     SelectReferrer  string `json:"selectReferrer" form:"selectReferrer" gorm:"column:select_referrer;comment:推荐人"`
     SelectUnReferrer  string `json:"selectUnReferrer" form:"selectUnReferrer" gorm:"column:select_un_referrer;comment:踩的人"`
}


func (SelectList) TableName() string {
  return "select_list"
}

const SelectListIdPrefix = 20000